package com.ssn.proxy.image;

public class Client {
    public static void main(String[] args) {
        Image image = new Image();
        ImageProxy proxy = new ImageProxy(image);
        proxy.showImage();
        proxy.clickImage();
        proxy.clickOrigin();
        proxy.clickImage();
        proxy.clickImage();
        System.out.println("-----清理缓存-----");
        image = new Image();
        proxy = new ImageProxy(image);
        proxy.showImage();
    }
}
